From c31b3b8bbb76232323db3ec0b6cbc11ed1bbc37c Mon Sep 17 00:00:00 2001 From: Juanma Barranquero Date: Wed, 23 Oct 2002 16:55:19 +0000 Subject: [PATCH] Remove definition of XColor. --- src/macfns.c | 10 ---------- src/w32fns.c | 10 ---------- src/xfaces.c | 15 --------------- 3 files changed, 35 deletions(-) diff --git a/src/macfns.c b/src/macfns.c index 44bbb3130e2..e2fe2969dfb 100644 --- a/src/macfns.c +++ b/src/macfns.c @@ -99,16 +99,6 @@ extern double atof (); extern int w32_console_toggle_lock_key (int vk_code, Lisp_Object new_state); extern int quit_char;*/ -/* A definition of XColor for non-X frames. */ -#ifndef HAVE_X_WINDOWS -typedef struct { - unsigned long pixel; - unsigned short red, green, blue; - char flags; - char pad; -} XColor; -#endif - extern char *lispy_function_keys[]; /* The gray bitmap `bitmaps/gray'. This is done because macterm.c uses diff --git a/src/w32fns.c b/src/w32fns.c index f4dd0421694..bfdf34b15ce 100644 --- a/src/w32fns.c +++ b/src/w32fns.c @@ -64,16 +64,6 @@ extern void w32_free_menu_strings P_ ((HWND)); extern int quit_char; -/* A definition of XColor for non-X frames. */ -#ifndef HAVE_X_WINDOWS -typedef struct { - unsigned long pixel; - unsigned short red, green, blue; - char flags; - char pad; -} XColor; -#endif - extern char *lispy_function_keys[]; /* The gray bitmap `bitmaps/gray'. This is done because w32term.c uses diff --git a/src/xfaces.c b/src/xfaces.c index d5ddd6b40de..e66bc16192a 100644 --- a/src/xfaces.c +++ b/src/xfaces.c @@ -297,21 +297,6 @@ Boston, MA 02111-1307, USA. */ #define FACE_CACHE_BUCKETS_SIZE 1001 -/* A definition of XColor for non-X frames. */ - -#ifndef HAVE_X_WINDOWS - -typedef struct -{ - unsigned long pixel; - unsigned short red, green, blue; - char flags; - char pad; -} -XColor; - -#endif /* not HAVE_X_WINDOWS */ - /* Keyword symbols used for face attribute names. */ Lisp_Object QCfamily, QCheight, QCweight, QCslant, QCunderline; -- 2.30.2